import {BaseApi} from "@/components/js/BaseApi";
import service from "@/components/js/service";


export const MenuApi = {
    mixins: [BaseApi],
    methods: {
        getBaseUrl(){
            return "/sys-menu";
        },
        save(params) {
            return service.post(this.getBaseUrl() + "/save", params);
        },
    },
}